<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<table border="0" class="car_tab" style="width:1110px;" cellspacing="0"
	cellpadding="0">
	<tr>
		<td class="car_th" width="490">商品名称</td>
		<td class="car_th" width="150">购买数量</td>
		<td class="car_th" width="130">小计</td>
	</tr>
	<c:forEach items="${sessionScope.cart.items}" var="p">
		<tr>
			<td>
				<div class="c_s_img">
					<img src="../statics/productImg/${p.product.fileName }" width="73" height="73" />
				</div> ${p.product.name }</td>
			<td align="center">${p.quantity }</td>
			<td align="center" style="color:#ff4e00;">￥${p.cost}</td>
		</tr>
	</c:forEach>
	<tr>
		<td colspan="5" align="right" style="font-family:'Microsoft YaHei';">
			商品总价：￥${cart.sum}</td>
	</tr>
</table>